import QtQuick 1.0


Text {
    id:root
    text:"button"
    scale: mouseArea.pressed ? 1.1 : 1
    color: checked ? "white" : "gray"
    property bool checked : true
    signal clicked()

    MouseArea {
        id:mouseArea
        anchors.fill: parent
        onClicked:root.clicked()

    }




}
